﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace OWE.Core.Domain
{
    public class Partner : BaseEntity
    {
        public string Name { get; set; }
        public string DisplayName { get; set; }
        public string Lang { get; set; }
        public int CompanyId { get; set; }
        public string Comment { get; set; }
        public string Ean13 { get; set; }
        public byte[] Image { get; set; }
        public bool? UseParentAddress { get; set; }
        public string Street { get; set; }
        public string Street2 { get; set; }
        public string City { get; set; }
        public string Zip { get; set; }
        public int CountryId { get; set; }
        public int TitleId { get; set; }
        public bool IsCompany { get; set; }
        public int? ParentId { get; set; }
        public string Vat { get; set; }
        public string Email { get; set; }
        public string WebSite { get; set; }
        public string Phone { get; set; }
        public string Fax { get; set; }
        public bool Supplier { get; set; }
        public bool Customer { get; set; }
        public bool Employee { get; set; }
        public DateTime BirthDate { get; set; }
        public DateTime? LastReconciliationDate { get; set; }
        public decimal? DebitLimit { get; set; }
        public decimal? CreditLimit { get; set; }
    }
}
